package com.demo.mappers;
import org.apache.ibatis.annotations.Param;



/**
 * @Description::mapper
 * @Date:2025-03-11
 * @author：author
*/
public interface DeviceInfoMapper<T,P> extends BaseMapper {


	/**
	 * 根据DeviceId查询
	 */
	 T selectByDeviceId(@Param("deviceId") Integer deviceId);

	/**
	 * 根据DeviceId更新
	 */
	 Integer updateByDeviceId(@Param("bean")T t, @Param("deviceId") Integer deviceId);

	/**
	 * 根据DeviceId删除
	 */
	 Integer deleteByDeviceId(@Param("deviceId") Integer deviceId);

}